package com.gd.iot.energy.pojo.superadmin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * 管理员
 *
 * @author kris
 * @date Created at 2020/8/3 15:55
 */
@Setter
@Getter
public class AdminDTO {
    /**
     * @fieldName: id
     * @fieldType: Long
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Long id;

    /**
     * @fieldName: companyId
     * @fieldType: Long
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Long companyId;

    /**
     * @fieldName: createDate
     * @fieldType: Date
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Date createDate;

    /**
     * @fieldName: modifyDate
     * @fieldType: Date
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Date modifyDate;

    /**
     * @fieldName: operatorId
     * @fieldType: Long
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Long operatorId;

    /**
     * @fieldName: department
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String department;

    /**
     * @fieldName: email
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String email;

    /**
     * @fieldName: isEnabled
     * @fieldType: Boolean
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Boolean isEnabled;

    /**
     * @fieldName: isLocked
     * @fieldType: Boolean
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Boolean isLocked;

    /**
     * @fieldName: lockedDate
     * @fieldType: Date
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Date lockedDate;

    /**
     * @fieldName: loginDate
     * @fieldType: Date
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Date loginDate;

    /**
     * @fieldName: loginFailureCount
     * @fieldType: Integer
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Integer loginFailureCount;

    /**
     * @fieldName: loginIp
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String loginIp;

    /**
     * @fieldName: name
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String name;

    /**
     * @fieldName: password
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String password;

    /**
     * @fieldName: username
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String username;

    /**
     * @fieldName: company
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String company;

    /**
     * @fieldName: position
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String position;

    /**
     * @fieldName: telPhone
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String telPhone;

    /**
     * @fieldName: isDel
     * @fieldType: Boolean
     * @Description: 是否删除0 否1是
     */
    @ApiModelProperty(value = "是否删除0 否1是", hidden = false)
    private Boolean isDel;

    /**
     * @fieldName: energyType
     * @fieldType: Integer
     * @Description: 类型1水表
     */
    @ApiModelProperty(value = "类型1水表", hidden = false)
    private Integer energyType;

    /**
     * @fieldName: rolePOs
     * @fieldType: List
     * @Description: 角色列表
     */
    @ApiModelProperty(value = "角色列表", hidden = false)
    private List<RoleDTO> roles;
}
